package com.lagou.bean;

import com.lagou.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author: jie.zhao
 * @create: 2021/06/02 16:57
 */
@Component
public class ConsumerComponent {

    @Reference
    private HelloService helloService;

    public String sayHello(String name){
        return helloService.sayHello(name);
    }

    public String methodTwo(String name){
        return helloService.methodTwo(name);
    }

    public String methodThree(String name){
        return helloService.methodThree(name);
    }


}
